package com.sie.controller;

import com.sie.service.TestService;
import com.ty.basic.constant.ApiPathConstant;
import com.ty.basic.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author linjinde
 */
@RestController
@Api(tags = "Test")
@RequestMapping(ApiPathConstant.PRODUCT_VERSION_ONE_PATH + "test")
public class TestController {
    @Autowired
    TestService testService;
    @GetMapping("/test")
    @ApiOperation(value = "test", notes = "test")
    public ResponseResult<T> test() {
        return ResponseResult.success(testService.test());
    }
}
